package org.willthink.dao.main.impl;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.willthink.dao.main.MainDAO;

import com.ibatis.sqlmap.client.SqlMapClient;

public class MainDAOImpl extends SqlMapClientDaoSupport implements MainDAO {
	
	@Override
	public List<Map<String, String>> getMenuList(String authNo) throws SQLException {
		List list = getSqlMapClientTemplate().queryForList("main.menuList", authNo);
		return list;
	}

}
